<template>
	<view class="paper-box">
		<view  class="paper-list u-f-ac animated fadeIn fast" @tap="opendetail">
			<view class="d-top">
				<view class="left">{{item.name}}</view>
				<view class="right">{{item.model}}</view>
				<view class="count">{{item.count}}</view>
			</view>
			<view class="d-bottom">

			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"goods-list",
		props:{
			item:Object,
			index:Number	
		},
		data() {
			return {
				headArr:['名称','型号','数量','单位'],
				unitList:['卷','个','包','PCS','套','盒','米（m）','箱','根','片','台','瓶'],
			};
		},
		methods:{
			opendetail(){
				// uni.navigateTo({
				// 	url: `/pages/detail/detail?item=${JSON.stringify(this.item)}`
				// });
			}
		}
	}
</script>

<style lang="less">
.d-top{
	display: flex;
}
.count{
	color: #4387cb;
}

</style>